home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / E / Goportscan_src.lha / GoPortscan_Src / gpobjects.e < prev    next >
Encoding:
Text File  |  2003-02-02  |  507 b   |  37 lines

  1. OPT PREPROCESS
  2. OPT MODULE
  3. OPT EXPORT
  4.  
  5. /*
  6.     Description: Some custom OBJECTS for Go Portscan.
  7. */
  8.  
  9. MODULE 'amitcp/netinet/in',
  10.        'amitcp/sys/time'
  11.  
  12. ->#define PCAP_ERRBUF_SIZE 256
  13.  
  14. OBJECT portentry
  15.     lower
  16.     upper
  17.     next:PTR TO portentry
  18. ENDOBJECT
  19.  
  20. OBJECT intfold
  21.     arr[200]:ARRAY OF INT
  22. ENDOBJECT
  23.  
  24. OBJECT pseudo
  25.     src:in_addr
  26.     dst:in_addr
  27.     place:CHAR
  28.     protocol:CHAR
  29.     len:INT
  30. ENDOBJECT
  31.  
  32. ->OBJECT pcap_pkthdr
  33. ->    ts:compatible_timeval
  34. ->    caplen:LONG
  35. ->    len:LONG
  36. ->ENDOBJECT
  37.